package com.inxedu.os.edu.pojo;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 后台权限系统
 */
public class SysFunction implements Serializable {
    private Integer functionId;

    private Integer parentId;

    private String functionName;

    private String functionUrl;

    private Integer functionType;

    private Date createTime;

    private Integer sort;

    private List<SysFunction> childList;

    public List<SysFunction> getChildList() {
        return childList;
    }

    public void setChildList(List<SysFunction> childList) {
        this.childList = childList;
    }

    public Integer getFunctionId() {
        return functionId;
    }

    public void setFunctionId(Integer functionId) {
        this.functionId = functionId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public String getFunctionName() {
        return functionName;
    }

    public void setFunctionName(String functionName) {
        this.functionName = functionName == null ? null : functionName.trim();
    }

    public String getFunctionUrl() {
        return functionUrl;
    }

    public void setFunctionUrl(String functionUrl) {
        this.functionUrl = functionUrl == null ? null : functionUrl.trim();
    }

    public Integer getFunctionType() {
        return functionType;
    }

    public void setFunctionType(Integer functionType) {
        this.functionType = functionType;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    @Override
    public String toString() {
        return "SysFunction{" +
                "functionId=" + functionId +
                ", parentId=" + parentId +
                ", functionName='" + functionName + '\'' +
                ", functionUrl='" + functionUrl + '\'' +
                ", functionType=" + functionType +
                ", createTime=" + createTime +
                ", sort=" + sort +
                ", childList=" + childList +
                '}';
    }
}